SlideShare a Scribd company logo
1 of 9
CREATING A LIQUID THREE
       LAYOUT
 Ryan Neves   Philippe Roy   Solanje Sellier
WHAT IS A LIQUID LAYOUT?
All containers are based on the viewport rather than the initial containing block. A liquid layout will move in and out when you resize
your browser window.*
OBJECTIVE
     Create a liquid Layout with three columns using the following layout:




The layout should

- Load the same background image in three different pages.

- Position a background image in the right hand column away from the text

- Align the text in the Header to the left

- Align the text in the right hand column to the right

- Remove the line under all links, change their color to a color of your choice.

- Specify the width of the right and left column to be 300px

- Make sure you use padding and margin to create the same text flow as in the example.
DESIGN




Step 1. Layout
Step 2. Containers
Step 3. Attributes
CONTAINERS

• Createone container to          div.container
                                  
    {
 house all other containers       
                                     
                                       
                                            width:100%;
                                            margin:0px;
                                  
    
    border:1px solid gray;
                                  
    
    background: white;
                                  
    }



• Add   Header & Footer       div.header,div.footer
                              
    
    
     {
                              
    
    
     
    padding:0.5em;
                              
    
    
     
    color:white;
                              
    
    
     
    background-color:gray;
                              
    
    
     
    clear:both;
                              
    
    
     }
CONTAINERS
• Add   inner containers   div.left
                                  {
                                       float:left;
                                       width:266px;
                                       margin:0px;
                                       padding:1em;
                                   }
                           div.right
                           
     {
                                       float:right;
                                       width:266px;
                                       margin:0;
                                       padding:1em;
                                       text-align:right;
                                       background:url(../images/guymagglass.jpg)
                                       no-repeat left top;
                           
    }
                           div.content
                           
    {
                                    margin-left:298px;
                                    margin-right:298px;
                                    border-left:1px solid gray;
                                    border-right:1px solid gray;
                                    padding:1em;
                                    font-family:Arial,Helvetica,sans-serif;
                           
    }
ATTRIBUTES
                                                                h1,h2.head
                                                                     {
       padding:0;
                                                                
       
     margin:0;
                                                                
       
     text-align:left;
                                                                
       
     font-family:Arial,Helvetica,sans-serif;
 }
                                                                div.left
                                                                     {
       float:left;
•   Position a background image in the right hand column away   
       
     width:266px;
    from the text                                               
       
     margin:0px;
                                                                
       
     padding:1em;
                                                                     }
                                                                div.right
•   Align the text in the Header to the left                         {
       float:right;
                                                                
       
     width:266px;
                                                                
       
     margin:0;
                                                                
       
     padding:1em;
•   Align the text in the right hand column to the right        
       
     text-align:right;
                                                                          
   background:url(../images/guymagglass.jpg) no-
                                                                              repeat left top;    }
                                                                div.content
•   Remove the line under all links, change their color to           {
        margin-left:298px;
    a color of your choice.                                     
       
      margin-right:298px;
                                                                
       
      border-left:1px solid gray;
                                                                
       
      border-right:1px solid gray;
                                                                
       
      padding:1em;
•   Specify the width of the right and left column to be        
       
      font-family:Arial,Helvetica,sans-serif;
    300px                                                            }
                                                                a:link,a:visited
                                                                     {
        font-weight:bold;
                                                                
       
      color:#FFFFFF;
•   Make sure you use padding and margin to create the          
       
      background-color:#ff9900;
    same text flow as in the example.                            
       
      text-align:center;
                                                                
       
      padding:4px;
                                                                
       
      text-decoration:none;
                                                                
       
      text-transform:uppercase;         }
                                                                a:hover, a:active
                                                                     {
        background-color:#ff6600;        }
RESOURCES


• http://www.maxdesign.com.au/articles/liquid/   *

• http://www.yourhtmlsource.com/stylesheets/
 cssbackgrounds.html

• http://www.w3schools.com/css/default.asp
Website

More Related Content

Featured

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Featured (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

Liquid pres

  • 1. CREATING A LIQUID THREE LAYOUT Ryan Neves Philippe Roy Solanje Sellier
  • 2. WHAT IS A LIQUID LAYOUT? All containers are based on the viewport rather than the initial containing block. A liquid layout will move in and out when you resize your browser window.*
  • 3. OBJECTIVE Create a liquid Layout with three columns using the following layout: The layout should - Load the same background image in three different pages. - Position a background image in the right hand column away from the text - Align the text in the Header to the left - Align the text in the right hand column to the right - Remove the line under all links, change their color to a color of your choice. - Specify the width of the right and left column to be 300px - Make sure you use padding and margin to create the same text flow as in the example.
  • 4. DESIGN Step 1. Layout Step 2. Containers Step 3. Attributes
  • 5. CONTAINERS • Createone container to div.container { house all other containers width:100%; margin:0px; border:1px solid gray; background: white; } • Add Header & Footer div.header,div.footer { padding:0.5em; color:white; background-color:gray; clear:both; }
  • 6. CONTAINERS • Add inner containers div.left { float:left; width:266px; margin:0px; padding:1em; } div.right { float:right; width:266px; margin:0; padding:1em; text-align:right; background:url(../images/guymagglass.jpg) no-repeat left top; } div.content { margin-left:298px; margin-right:298px; border-left:1px solid gray; border-right:1px solid gray; padding:1em; font-family:Arial,Helvetica,sans-serif; }
  • 7. ATTRIBUTES h1,h2.head { padding:0; margin:0; text-align:left; font-family:Arial,Helvetica,sans-serif; } div.left { float:left; • Position a background image in the right hand column away width:266px; from the text margin:0px; padding:1em; } div.right • Align the text in the Header to the left { float:right; width:266px; margin:0; padding:1em; • Align the text in the right hand column to the right text-align:right; background:url(../images/guymagglass.jpg) no- repeat left top; } div.content • Remove the line under all links, change their color to { margin-left:298px; a color of your choice. margin-right:298px; border-left:1px solid gray; border-right:1px solid gray; padding:1em; • Specify the width of the right and left column to be font-family:Arial,Helvetica,sans-serif; 300px } a:link,a:visited { font-weight:bold; color:#FFFFFF; • Make sure you use padding and margin to create the background-color:#ff9900; same text flow as in the example. text-align:center; padding:4px; text-decoration:none; text-transform:uppercase; } a:hover, a:active { background-color:#ff6600; }
  • 8. RESOURCES • http://www.maxdesign.com.au/articles/liquid/ * • http://www.yourhtmlsource.com/stylesheets/ cssbackgrounds.html • http://www.w3schools.com/css/default.asp

Editor's Notes